package com.flyaudio.xiaopengautopilot.entity;

public class Sum {
    private int _sumId;
    private String sumDate;  //日期
    private String sumMileage; //行驶里程
    private String sumTotalMileage; //总里程
    private String sumPowerConsumption; //实时电耗

    public Sum(String sumDate, String sumMileage, String sumTotalMileage, String powerConsumption, int _sumId) {
        this._sumId = _sumId;
        this.sumDate = sumDate;
        this.sumMileage = sumMileage;
        this.sumTotalMileage = sumTotalMileage;
        this.sumPowerConsumption = sumPowerConsumption;
    }

    public Sum() {}

    public int get_sumId() {
        return _sumId;
    }

    public void set_sumId(int _sumId) {
        this._sumId = _sumId;
    }

    public String getSumDate() {
        return sumDate;
    }

    public void setSumDate(String sumDate) {
        this.sumDate = sumDate;
    }

    public String getSumMileage() {
        return sumMileage;
    }

    public void setSumMileage(String sumMileage) {
        this.sumMileage = sumMileage;
    }

    public String getSumTotalMileage() {
        return sumTotalMileage;
    }

    public void setSumTotalMileage(String sumTotalMileage) {
        this.sumTotalMileage = sumTotalMileage;
    }

    public String getSumPowerConsumption() {
        return sumPowerConsumption;
    }

    public void setSumPowerConsumption(String sumPowerConsumption) {
        this.sumPowerConsumption = sumPowerConsumption;
    }

    @Override
    public String toString() {
        return "Sum{" +
                "_sumId=" + _sumId +
                ", sumDate='" + sumDate + '\'' +
                ", sumMileage='" + sumMileage + '\'' +
                ", sumTotalMileage='" + sumTotalMileage + '\'' +
                ", sumPowerConsumption='" + sumPowerConsumption + '\'' +
                '}';
    }
}
